Skip to main content

Settings

SettingsManager is responsible for managing settings in DXCharts. You can either provide your own SettingsManager or use the default implementation, DXCSettingsManager, provided by DXChart.

To set custom values, you simply need to provide a custom instance of Chart.Settings models through the SettingsManager instance.

Default settings

SettingDefault value
chartType.candle
highAndLowfalse
verticalGridtrue
horizontalGridfalse
candleWickstrue
watermarkfalse
tradingFromChartfalse
showActiveOrdersfalse
showOpenPositionsfalse
autoscalePriceAxistrue
fitStudiestrue
fitOrdersfalse
fitPositionsfalse
invertScalefalse
lockScalefalse
scaleType.regular
sessionBreaksfalse
extendedHoursfalse
alignDataWithSessionStartfalse
priceType.last
volumetrue
eventsOnChartfalse
dividendsfalse
splitsAndConsolidationsfalse
earningsAndEstimatesfalse
conferenceCallsfalse
newsfalse

Available settings:

  • chartType: candle, bar, line, area, scatterPlot, hollowCandle, histogram, baseline, trend, heikinAshi, equivolume.
  • scaleType: regular, percent, logarithmic.
  • priceType: last, market, bid, ask.